function RequestHead(h) {
	
	AbstractHead.call(this, h);
	
	this.getHTTPMethod = function() {
		var method = h.getStatusLine().split(" ")[0];
		
		if(method == "GET") return TITTValues.GET;
		if(method == "POST") return TITTValues.POST;
		if(method == "OPTIONS") return TITTValues.OPTIONS;
		
		return -1;
	}

	this.getPath = function() {
		return h.getStatusLine().split(" ")[1];
	}

}

function RequestHeadInit(method,path,h) {
	if(!(path.charAt(0) == "/")) path = "/" + path;
	RequestHead.call(this, HeadFactory.createHead3(h, TITTValues.methodAsString(method) + " " + path + " HTTP/1.1", []));
}